package cloud.estate.complaint.service;

import cloud.estate.commons.bean.Complaint;
import cloud.estate.commons.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface ComplaintService extends IService<Complaint> {
    JsonResult addOneComplaint(Complaint complaint);

    JsonResult deleteOneComplaint(String id);

    JsonResult updateOneComplaint(Complaint complaint);

    JsonResult getOneComplaint(String id);

    JsonResult listAllComplaint();
}
